<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
    <title>Hello World!</title>
</head>
<body>
<h1 th:inline="text">变量表达式</h1>
<span th:text="${session.user.userName}"></span>
<span th:text="${session.user.email}"></span>

<h1 th:inline="text">选择(星号)表达式</h1>
<div th:object="${session.user}">
    <span th:text="*{userName}"></span>
</div>

<h1 th:inline="text">文字国际化表达式</h1>
<footer th:fragment="copy">
    &copy; 2016
</footer>

</body>
</html>